/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package thinkinginjava.svn.strings.regularexpressions;

/**
 *
 * @author evenpet
 */
public class Rudolph {
    public static void main(String[] args) {
        
        for(String pattern : new String[]{"Rudolph", "[rR]udolph", "[rR][aeiou][a-z]ol.*","R.*"}) {
            System.out.println("Rudolph".matches(pattern));
        }        
    }
}
